#pragma once
#include "EffectProp.h"


using namespace Ware;

class CEffectPropCtrl
{
public:
	CEffectPropCtrl( CWnd* pParent, const EffectProp& Prop, CFont* pFont, int32 NameWidth, WORD& ID );
	~CEffectPropCtrl(void);

	struct CtrlProp
	{
		CtrlProp(){}
		CtrlProp( int32 w, CWnd* pWnd ) : nWidth( w ), pCtrl( pWnd ){}
		int32	nWidth;
		CWnd*	pCtrl;
	};

	//const EffectProp&		GetEffectProp()		{ return m_EffectProp; }
	void					OnChild( int32 Value = 0 );
	void					SetPos( int x, int y );
	const EffectProp&		GetProp();
	void					ResetCombList( const EffectProp& Prop );

private:

	EffectProp				m_EffectProp;
	vector< CtrlProp >		m_CtrlWnd;

};
